#ifndef FANUCPARSECLASS_H
#define FANUCPARSECLASS_H
#include "baseinsparseclass.h"


class FanucParseClass:public BaseInsParseClass
{
public:
    FanucParseClass();
    int parseToNulanguage(QString &incomeProgram, QStringList &cmdStrListOut, QVector<PointPro> &pointListOut,
                          QStringList &messageOut);
    int parseToGcode(QString &strFilePath, QString &gcodeOut,
                                                        QStringList &messageOut);

private:
    int transToGcode(Line &oneLine, QVector<PointPro> &pointListIn, QString &gcodeOut);
    int rpy2Zxz(std::vector<double> pointIn, std::vector<double> &pointOut);
};

#endif // FANUCPARSECLASS_H
